<template>
  <div class="big-box">
    <div class="title">
      <span v-if="thisComponen.attribute.ifCheck" class="title-span">*</span>
      <div v-for="(item,index) of thisComponen.attribute.titName" :key="index">{{item}}</div>
    </div>
    <div class="con">
      <input @blur="out" v-model.trim="thisComponen.attribute.filedValue" :maxLength="thisComponen.attribute.maxLength" :placeholder="thisComponen.attribute.placeholder" type="text">
    </div>
  </div>
</template>
<script>
export default {
  props: ["thisComponen"],
  data() {
    return {};
  },
  methods: {
    out(){
      setTimeout(function() {
        var scrollHeight = document.documentElement.scrollTop || document.body.scrollTop || 0;
        window.scrollTo(0, Math.max(scrollHeight - 1, 0));
      }, 100)
    }
  }
};
</script>

<style scoped>
@import "./../../../static/css/select.css";
</style>
